package cn.gcyl.module.biz.controller.admin.projectprocurementinformation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 项目采购信息新增/修改 Request VO")
@Data
public class ProjectProcurementInformationSaveReqVO {

    @Schema(description = "信息id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9870")
    private Long id;

    @Schema(description = "标题类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "标题类型不能为空")
    private Integer titleType;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "行业", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "行业不能为空")
    private String industry;

    @Schema(description = "地区", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "地区不能为空")
    private String area;

    @Schema(description = "公布时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "公布时间不能为空")
    private LocalDateTime publicationTime;

    @Schema(description = "正文", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "正文不能为空")
    private String details;

}